<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <title>订单确认 | 同程旅行安全应急响应中心</title>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <meta
      name="description"
      content="同程旅行安全应急响应中心,LY Security Response Center"
    />
    <meta
      name="keywords"
      content="同程旅行,LY,安全团队,应急响应,同程旅行安全应急响应中心,LY Security Response Center"
    />
    <meta name="renderer" content="webkit" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5, user-scalable=no"
    />
    <link rel="icon" href="/Public/Index/images/logo.ico" />
    <link rel="stylesheet" href="/Public/Index/css/main.css" />
    <!--[if (gte IE 6)&(lte IE 8)]>
      兼容 CSS3 选择器
      <script
        type="text/javascript"
        src="/Public/Index/js/selectivizr.min.js"
      ></script>
      兼容 media query
      <script
        type="text/javascript"
        src="/Public/Index/js/respond.min.js"
      ></script>
    <![endif]-->
  </head>
  <body>
    <div class="header header-scroll">
      <div>
        <div class="logo">
          <a href="/">
            <div class="logo_pic">
              <img src="/Public/Index/images/newlogo.png" class="newlogo" />
            </div>
            <!--                        <div class="logo_name">-->
            <!--							<p>同程旅行安全应急响应中心</p>-->
            <!--                            <p>LY Security Response Center</p>-->
            <!--                        </div>-->
          </a>
        </div>

        <div class="userpanel">
          <div class="userpanel_line">
            <div></div>
          </div>
          <div class="userpanel_user">
            <img class="user_avatar mod-avatar-30" src="" alt="" />
            <span class="user_username">王大辉</span>
            <i class="user_arrow"></i>
            <div class="user_menu">
              <ul class="menu_list">
                <li class="list_item list_item-user">
                  <a href="/user.php?m=&amp;c=index&amp;a=index">
                    <i class="item_icon"></i>
                    <span class="item_text">个人主页</span>
                  </a>
                </li>
                <li class="list_item list_item-message">
                  <a href="/user.php?m=&amp;c=message&amp;a=index">
                    <i class="item_icon"></i>
                    <span class="item_text">消息中心</span>
                    <i class="item_icon-message">0</i>
                  </a>
                </li>
                <li class="list_item list_item-account">
                  <a href="/user.php?m=&amp;c=info&amp;a=index">
                    <i class="item_icon"></i>
                    <span class="item_text">账户设置</span>
                  </a>
                </li>
                <li class="list_item list_item-logout">
                  <a href="/user.php?m=&amp;c=login&amp;a=logout">
                    <i class="item_icon"></i>
                    <span class="item_text">注销</span>
                  </a>
                </li>
              </ul>
            </div>
          </div>
        </div>

        <div class="nav">
          <ul>
            <li class="[index_banner]"><a href="/index.php">首页</a></li>
            <li class="[banner_selected]">
              <a href="/user.php?m=&amp;c=post&amp;a=add">提交漏洞</a>
            </li>
            <li class="[annoucment_banner]">
              <a href="/index.php?m=&amp;c=page&amp;a=index">公告</a>
            </li>
            <!--						<li class="[blog_banner]"><a href="/index.php?m=&c=blog&a=index">博客</a></li>-->
            <li class="[hall_banner]">
              <a href="/index.php?m=&amp;c=hall&amp;a=index">贡献榜</a>
            </li>
            <li class="navselected">
              <a href="/user.php?m=&amp;c=gift&amp;a=index">礼品兑换</a>
            </li>
          </ul>
        </div>
      </div>
    </div>
    <div class="container container-shoporder">
      <div>
        <!-- section-subnav 标题-->
        <div class="section section-subnav">
          <div class="section_subnav">
            <p class="subnav_title">订单确认</p>
          </div>
        </div>

        <div class="section section-orderpanel">
          <div class="section_orderpanel">
            <div class="orderpanel_check">
              <div class="check_leftblock">
                <div class="leftblock_pic">
                  <img
                    src="http://file.40017.cn/ysrcimg/20200618_bd8f713016c66743e781839c6f075fdb.jpeg?AWSAccessKeyId=E4S3SABE3IZPINO6NTDD&amp;Expires=2456476403&amp;Signature=0KikJsOc5wPrQqXUiSL9A7sm%2FW8%3D"
                    alt=""
                  />
                </div>
                <div class="leftblock_info">
                  <h4>京东200元购物卡</h4>
                  <h3>库存：358 个</h3>
                </div>
              </div>
              <div class="check_rightblock">
                <div class="rightblock_address">
                  <h4 class="address_title">1. 选择收货地址</h4>
                  <ul class="address_select">
                    <li
                      address="178"
                      id="address_178"
                      onclick="select_address('178')"
                      class="mod-address mod-address-added mod-address-added-default"
                      select="selected"
                      style="border-color: #007cfa"
                    >
                      <p class="address_acceptor">
                        <span class="acceptor_name">王大辉</span>
                        <span class="acceptor_phone">13526275540</span>
                      </p>
                      <p class="address_detail">江苏省苏州市园区同程旅行大厦</p>
                      <!--<div class="address_change">
                                             <span class="change_setdefault">设为默认</span><a href="javascript:query_address(178);"><i class="i-address-modify"></i></a> | <a href="javascript:delete_address(178);"><i class="i-address-delete"></i></a>
                                        </div>-->
                      <i class="i-mod-address-default"></i>
                    </li>
                    <a href="/user.php?m=&amp;c=info&amp;a=index"
                      ><li class="mod-address mod-address-add">
                        <i></i><span>添加新地址</span>
                      </li></a
                    >
                  </ul>
                </div>

                <div class="rightblock_num">
                  <h4 class="num_title">2. 确认兑换数量</h4>
                  <div class="num_selectnum">
                    <div class="mod-form-numselector">
                      <a href="javascript:numminus();"> - </a>
                      <input id="redeemgoods" type="text" value="1" />
                      <a href="javascript:numplus();"> + </a>
                    </div>

                    <span class="selectnum_calculate">
                      x
                      <span class="calculate_unitprice"
                        ><span class="unitprice_num">20</span> 安全币</span
                      >
                      =
                      <span class="calculate_totalprice"
                        ><span id="total_price" class="totalprice_num">20</span>
                        安全币</span
                      ></span
                    >
                  </div>
                </div>
              </div>
            </div>
            <div class="orderpanel_confirm">
              <div class="confirm_leftblock">
                <a
                  class="mod-btn mod-btn-black"
                  href="javascript:window.history.back();"
                  >返&nbsp;&nbsp;回</a
                >
              </div>
              <div class="confirm_rightblock">
                <div class="rightblock_balance">
                  <p class="balance_title">兑换后账户余额</p>
                  <p class="balance_num">
                    <span>20.0000</span> -
                    <span id="confirm_total_price">20</span> =
                    <span class="num_rest"
                      ><span id="left_account">0 </span> 安全币</span
                    >
                  </p>
                </div>
                <input
                  id="user_token"
                  type="hidden"
                  value="5e74f3f269c0d7ba0363fd2bd3b859a8"
                />
                <a
                  class="mod-btn mod-btn-shop-orange"
                  href="javascript:submit_my_order();"
                  >确认兑换</a
                >
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!--弹出层-->
    <div id="address_success" class="mod-popup mod-popup-report">
      <div class="popup_mask"></div>
      <div class="popup_body">
        <div class="body_content">
          <p class="content_title">兑换成功!</p>
          <p class="content_text">我们将会尽快为您发货，请耐心等待</p>
        </div>
        <div class="body_btns">
          <a
            class="mod-btn mod-btn-blue mod-btn-close"
            onclick="location.href='/user.php?m=&amp;c=gift&amp;a=order'"
            >查看订单</a
          >
        </div>
        <i
          class="i-close"
          onclick="location.href='/user.php?m=&amp;c=gift&amp;a=order"
        ></i>
      </div>
    </div>
    <div id="address_fail" class="mod-popup mod-popup-report">
      <div class="popup_mask"></div>
      <div class="popup_body">
        <div class="body_content">
          <p class="content_title">兑换失败!</p>
          <p class="content_text">兑换失败，请尝试重新提交。</p>
        </div>
        <div class="body_btns">
          <a
            class="mod-btn mod-btn-blue mod-btn-close"
            onclick="location.reload();"
            >返回重试</a
          >
        </div>
        <i class="i-close" onclick="location.reload();"></i>
      </div>
    </div>
    <script>
      function submit_my_order() {
        var user_token_val = $("#user_token").val();
        var redeem_num_val = $("#redeemgoods").val();
        var adress_id_val = $("li[select]").attr("address");
        console.log(adress_id_val);
        if (adress_id_val == undefined) {
          $("#address_fail .content_text").html("请选择收货地址");
          $("#address_fail").css("display", "block");
          return false;
        }
        $("#address_fail .content_text").html("兑换失败，请尝试重新提交。");
        $.ajax({
          url: "/user.php?m=user&c=gift&a=add",
          type: "POST",
          data: {
            token: user_token_val,
            gid: 1,
            number: redeem_num_val,
            address: adress_id_val,
          },
          success: function (data) {
            if (data.status == "1") {
              $("#address_success").css("display", "block");
            } else {
              $("#address_fail").css("display", "block");
            }
          },
          error: function () {
            $("#address_fail").css("display", "block");
          },
        });
      }

      function select_address(adress_id) {
        $("li[select]").css("border-color", "#e6e6e6");
        $("li[select]").attr(
          "id",
          "address_" + $("li[select]").attr("address")
        );
        $("li[select]").removeAttr("select");
        $("#address_" + adress_id).css("border-color", "#007cfa");
        $("#address_" + adress_id).attr("select", "selected");
        $("#address_" + adress_id).attr("id", "selected_address");
      }

      function numplus() {
        var stock_num = 358;
        var single_price = 20;
        var goodsnum = document.getElementById("redeemgoods");
        var total_price_element = document.getElementById("total_price");
        var confirm_total_price_element = document.getElementById(
          "confirm_total_price"
        );
        var left_account_element = document.getElementById("left_account");
        var resultnum = parseInt(goodsnum.value) + 1;
        var total_price = resultnum * single_price;
        var left_account = 20.0 - total_price;
        var user_account_jinbi = 20.0;
        if (resultnum > stock_num) {
          alert("库存不足！");
        } else if (user_account_jinbi < total_price) {
          alert("金币不足！");
        } else {
          goodsnum.value = resultnum;
          total_price_element.innerText = total_price;
          confirm_total_price_element.innerText = total_price;
          left_account_element.innerText = left_account;
        }
      }

      function numminus() {
        var single_price = 20;
        var goodsnum = document.getElementById("redeemgoods");
        var total_price_element = document.getElementById("total_price");
        var confirm_total_price_element = document.getElementById(
          "confirm_total_price"
        );
        var left_account_element = document.getElementById("left_account");
        var resultnum = parseInt(goodsnum.value) - 1;
        var total_price = resultnum * single_price;
        var left_account = 20.0 - total_price;
        if (resultnum > 0) {
          goodsnum.value = resultnum;
          total_price_element.innerText = total_price;
          confirm_total_price_element.innerText = total_price;
          left_account_element.innerText = left_account;
        } else {
          alert("商品数量非法！");
        }
      }
    </script>

    <!-- footer -->
    <div class="footer">
      <div>
        <div class="footer_about">
          <p class="about_link">
            <a href="https://www.ly.com/public/about17u/intro" target="_blank"
              >关于公司</a
            >
            |
            <a href="http://job.ly.com/">加入我们</a>
            |
            <a href="/user.php?m=user&amp;c=post&amp;a=add">报告漏洞</a>
          </p>
          <p class="about_copyright">
            <span
              >Copyright © 2023 同程网络科技股份有限公司. All Rights
              Reserved</span
            >
            <span
              >Powered by
              <a href="https://security.tencent.com/index.php/xsrc"
                >Tencent xSRC</a
              ></span
            >
          </p>
        </div>

        <div class="footer_contact">
          <a class="contact_icon-email" href="mailto:sec@ly.com"
            ><i></i><span>专用邮箱</span>|</a
          >
          <a class="contact_icon-weixin mod-qrcode" href="">
            <i></i><span>微信公众号</span>
            <div class="qrcode">
              <div class="qrcode_pic">
                <img src="/Public/Index/images/seclogo.jpg" alt="" />
              </div>
              <span class="qrcode_text">扫一扫关注公众号</span>
            </div>
          </a>
        </div>
      </div>
    </div>

    <script src="/Public/Index/js/jquery-1.7.2.min.js"></script>
    <script src="/Public/Index/js/test.js"></script>
    <script src="https://security.tencent.com/static/plugins/jquery.ajaxfileupload.js"></script>
  </body>
</html>

H5CookieId=de9473ec-1276-4daa-a657-810c5a1f8a23;
_tcudid_v2=vRnGUcceQm9r4HAeFS3607GvPkGxsSWPZ2Xe3IZ-pVg;
nus=userid=112494304&nickName=807BE06CC0E33874&level=1;
abtkey=65418640-b8f1-4d97-bec7-e735a82eee65;
route=bd23ab6a81d623d5f8a2239406a6c49c; PHPSESSID=lbcb1utg4kh30r7psorhaie996;
__tctmd=144323752.737325;
__tctma=144323752.1660098602970049.1660098602405.1685683016943.1686017177840.10;
__tctmu=144323752.0.0;
__tctmz=144323752.1686017177840.10.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
longKey=1660098602970049; __tctrack=0;
Hm_lvt_c6a93e2a75a5b1ef9fb5d4553a2226e5=1685672960,1686017179;
cnUser=userid=112494304&token=167077113233172177219168248053175115198071085079122141116148083046128202024063117144131202055039110107207061029180130255210222223076148193091142163098012075227087225073135142007074091107113038083001223205005221204145&loginType=passport&secsign=04Sg6eKHajcHaG3yqU8n9Q1vtPfltQH3xWTtnJEVxqbCDTfojcePPE7psmsUqaGM1x;
us=userid=112494304&nickName=807BE06CC0E33874&level=1&isUpgrade=true;
passport_login_state=pageurl=http%3a%2f%2fsec.ly.com%2fuser.php%3fm%3d%26c%3dinfo%26a%3dindex&loginfrom=13656068&partner_loginname=&aloneid=oOCyauNchEQegiGtypOIKDG6jNho&wxunionid=ohmdTt2UM2XOEAa4eFihLfxUUAMU&uid=oOCyauNchEQegiGtypOIKDG6jNho&memberid=112494304;
NewProvinceId=16; NCid=226; NewProvinceName=%E6%B1%9F%E8%8B%8F;
NCName=%E8%8B%8F%E5%B7%9E;
Hm_lvt_64941895c0a12a3bdeb5b07863a52466=1683702266,1685672999,1686017192;
qdid=-9999; 17uCNRefId=RefId=0&SEFrom=&SEKeyWords=;
TicketSEInfo=RefId=0&SEFrom=&SEKeyWords=;
CNSEInfo=RefId=0&tcbdkeyid=&SEFrom=&SEKeyWords=&RefUrl=;
Hm_lpvt_64941895c0a12a3bdeb5b07863a52466=1686017204;
Hm_lpvt_c6a93e2a75a5b1ef9fb5d4553a2226e5=1686017205; __tctmc=144323752.100648991



出行事业群数据系统重构
技术栈：微前端（乾坤），vue3
项目难点：应用庞大，巨石应用拆分困难。
优化：体积优化 - 进行分包和gzip和图片压缩操作，打包优化 - 使用Thread-loader开启多进程。
，fcp(1.6s—>1.1s)，tti(2.1s—>1.8)……
打包时间从≈(26s—>18s)，提升了≈44%
收获：升级了交互体验，解决项目难维护问题，提高了自身的架构水平。
图表低代码平台（react全家桶）：拖拽生成图表页面。


用户营销系统（vue3全家桶）：以C端用户为中心的数据分析系统（包含gis、标签……）。
手机端数据可视化项目（Node+vue2）
……

1.负责部门爬虫问题，解决反爬策略
2.

苏州云中医信息技术有限公司 前端工程师（2018.7 – 2021.4）
主要工作内容：前期日常开发维护，后期则是独立负责项目搭建
相关技术栈Vue2/小程序/uniApp/ReactNavive/Webpack/Java
云中医sass系统的开发与维护
项目难点： 要求对elementUI源码进行改动，将日期选择面板由最多2个月改为3个月的显示。
项目收获： 熟悉了部分elementUI源码。
中医问诊系统（vue2全家桶）
跟单微信小程序。
以及开发uniApp、RN项目
……


好奇心重且自驱力强，会主动且快速的学习工作所需知识，已有终身学习的意识并在为此付出行动。
对webpack熟悉一些，可从0搭项目。了解过脚手架的开发。
超级喜欢阅读，2020-2022年均阅读量35本+。（豆瓣号：134768457）